﻿using System.Collections.Generic;
using SARS.Biz.Facades;
using SARS.DAO;
using SARS.DAO.Facades;
using SARS.Entity;

namespace SARS.Biz
{
    public class ProgramBO : IProgramBO
    {
        private readonly IProgramDAO _dao = new ProgramDAO();

        public List<ProgramEntity> RetrieveProgrammeAll()
        {
            return _dao.RetrieveProgrammeAll();
        }

        public List<ProgramEntity> RetrieveProgramByStudentId(int studentId)
        {
            return _dao.RetrieveProgramByStudentId(studentId);
        }


        public ProgramEntity RetrieveProgramById(int id)
        {
            return _dao.RetrieveProgramById(id);
        }


        public List<ProgramEntity> GetProgramsByTutorId(int tutorId)
        {
            return _dao.GetProgramsByTutorId(tutorId);
        }
    }
}